package com.hzw.saas.web.admin.hpc.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author sonam
 * @since 2021/5/12 0:46
 */
@Data
@Accessors(chain = true)
@ApiModel("HPC用户信息")
public class HpcAccountWithUserDto extends HpcAccountDto {

    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "HPC_USER_ID")
    private String hpcAccountUserId;

    @ApiModelProperty(value = "HPC_USER_RECORD_ID")
    private String hpcAccountRecordId;

    @ApiModelProperty(value = "创建日期")
    private Date createTime;

    @ApiModelProperty(value = "过期时间")
    private Date expireTime;

    @ApiModelProperty(value = "HPC-USER剩余核总时量")
    private Double coreTimeBalanceTotal;

    @ApiModelProperty(value = "HPC-USER剩余核时")
    private Double coreTimeBalance;

    @ApiModelProperty(value = "状态 1：正常|0：冻结")
    private Integer status;

    @ApiModelProperty(value = "无限算力，1-无限，0-有限")
    private Integer isInfinite;

    @ApiModelProperty(value = "是否能分享，1-能，0-不能")
    private Integer canShare;

    @ApiModelProperty(value = "是否为主帐号 1：主|0：副")
    private Integer isMain;

    @ApiModelProperty(value = "共享帐号过期时间")
    private Date subExpireTime;

    @ApiModelProperty(value = "子帐号列表")
    private List<HpcAccountSubDto> hpcAccountSubDtoList = new ArrayList<>();

    @ApiModelProperty(value = "绑定的合同信息")
    private List<HpcContractDTO> hpcContracts = new ArrayList<>();

}
